package com.hyl;

import com.hyl.person.Person;
import com.hyl.transport.Aircraft;
import com.hyl.transport.Ship;

public class Main {

    public static void main(String[] args) {
	// write your code here
        Person person1 = new Person("201902000","kiki","女");
        Aircraft aircraft1=new Aircraft("0001","蜻蜓号");
        person1.driveTransport(aircraft1);

        System.out.println("-------------------------------");

        Person person2 = new Person("2019020001","Jack","男");
        Ship ship1 = new Ship("0002","娇娇宝贝");
        person2.driveTransport(ship1);
    }
}
